package com.jhh.pay.center.search.mapping;

import com.alibaba.fastjson.annotation.JSONField;
import com.jhh.pay.center.search.AbstractMapping;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/15
 */
@Getter
@Setter
public class OrderMapping extends AbstractMapping<String> {
    @JSONField(name="type")
    private int type;
    @JSONField(name = "channel_id")
    private int channelId;
    @JSONField(name="channel_custom_no")
    private String channelCustomNo;
    @JSONField(name="app_id")
    private int appId;
    @JSONField(name="money")
    private BigDecimal money;
    @JSONField(name="order_no")
    private String orderNo;
    @JSONField(name="order_time")
    private Date orderTime;
    @JSONField(name="bank_info")
    private BankInfo bankInfo;
    @JSONField(name="channels")
    private Map<String, Object> channels;
    @JSONField(name="extension")
    private Map<String, Object> extension;
    @JSONField(name="post_time")
    private Date postTime;
    @JSONField(name="order_state")
    private int orderState;
    @JSONField(name="last_resp")
    private String lastResp;
    @JSONField(name="last_resp_time")
    private Date lastRespTime;
    @JSONField(name="notify_state")
    private int notifyState;
    @JSONField(name="process_node")
    private String processNode;
    @JSONField(name="properties")
    private Map<String, Object> properties;
}
